import type { IContentTable } from "../types/content.config.types";

export const contentTableConfig: IContentTable = {
  title: "权限列表",
  showSelectColumn: true,
  showIndexColumn: true,
  propsList: [
    { prop: "name", label: "部门名称", minWidth: "100" },
    { prop: "leader", label: "部门领导", minWidth: "100" },
    { prop: "parentId", label: "上级部门", minWidth: "100" },
    {
      prop: "createAt",
      label: "创建时间",
      minWidth: "220",
      slotName: "create",
    },
    {
      prop: "updateAt",
      label: "更新时间",
      minWidth: "220",
      slotName: "update",
    },
    {
      label: "操作",
      minWidth: "100",
      slotName: "handler",
    },
  ],
};
